package com.lechuang.user.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class EditLoginPwdDto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 手机号
     */
    @NotNull(message = "id不能为空")
    private Long  id;

    /**
     * 密码
     */
    @NotNull(message = "旧密码不能为空")
    private String oldLoginPassword;

    /**
     * 新密码
     */
    @NotNull(message = "新密码不能为空")
    private String loginPassword;

    /**
     * 登录确认密码
     */
    @NotNull(message = "重置新密码不能为空")
    private String confirmLoginPassword;

}
